<div class="am-u-sm-12 widget main-w" style="width: 100%;">
	<form class="am-form-inline tpl-form-border-form" id="adduser" data-check="1" action="" data-ajax="1">
		<div class="am-u-sm-12 cl-p">
			<fieldset class="cl-p">
				<legend><span class="am-icon-chevron-left back" style="margin-right: 30px;font-weight: 900;cursor: pointer;"></span><?=$item ? '编辑' : '新增' ?>员工</legend>
			</fieldset>
		</div>
		<!--<div class="am-u-sm-12 po_relative">
			<div class="am-u-sm-12">
				<span class="add"><div class="center circleborder-font-action">1</div><?=$item ? '编辑' : '新增' ?>员工</span>
				
			</div>
		</div>-->
		<div class="addpeople am-u-sm-12" style="margin-top:20px;">
			<div class="am-u-sm-6">
				<div class="am-u-sm-12" style="margin-bottom:10px;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">姓名： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="name" data-check='require' data-msg="姓名不能为空" value="{$item.name}" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">手机： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="phone" data-check='require' data-msg="手机不能为空" value="{$item.phone}" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">工号： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="badge_number"  value="{$item.badge_number}" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">部门： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<div class="am-u-sm-12 cl-p">
									<select class="department_id" name="department_id" value="{$item.department_id}">
									</select>
								</div>
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">用户： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input name="user_id" class="user_id" type="hidden" value="{$item.user_id}"/>
						<input  class="username" type="text" value="{$item.username}"/>
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">邮箱： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="email"  value="{$item.email}" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>
				<!--<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">系统角色： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<select name="car_use_type" multiple data-am-selected="{btnWidth: '100%'}">
									<option value="0">全部</option>
									<option value="1">系统管理员</option>
									<option value="2">普通管理员</option>
									<option value="3">车辆预订人员</option>
								</select>
							</div>
						</div>
					</div>
				</div>
				<div class="am-u-sm-12" style="margin-bottom:10px ;">
					<div class="am-u-sm-12 cl-p">
						<label for="user-name" class="am-u-sm-2 am-form-label cl-p" style="line-height: 35px;">管理员： </label>
						<div class="am-form-group am-u-sm-10 cl-p">
							<div class="am-u-sm-12 cl-p">
								<input type="text" class="tpl-form-input" name="name" data-check='require' data-msg="公司名称不能为空" value="{$item.name}" style="line-height: 21px;" />
							</div>
						</div>
					</div>
				</div>-->
			</div>
		</div>
		<div class="jurisdictionmain am-u-sm-12" style="margin-top:20px;display: none;">
			<input type="hidden" name='limit_id' class="paycheckmain" value="{$item.limit_id}" />
			<div class="am-u-sm-6">
				<div>设置支付权限</div>
				<small>请选择支付权限，员工符合权限内用车条件时方可支付。</small>
				<div class="am-btn-group am-u-sm-12 am-btn-group-xs cl-p">
					<button data-action='1' class="payclassify am-btn am-btn-primary finance" type="button">财政支付</button>
					<button data-action='2' class="payclassify am-btn am-btn-default unit" type="button">单位支付</button>
				</div>
				<div class="pay_type_w am-u-sm-12 cl-p" style="overflow: auto;height: 200px;border: 1px solid #ccc;">
					<div>
						<table border="0" cellspacing="0" cellpadding="0" width="100%" class="am-table am-table-compact  tpl-table-black pay_type check_index">
							<tr data-paytype = "1">
								<td class="paycheck check_list" data-check='0'><i class="am-icon-circle-o"></i></td>
								<td>公务用车111</td>
								<td>财政</td>
								<td>需审批</td>
								<td><a>详情</a></td>
							</tr>
							
						</table>
					</div>
				</div>
				
				<input type="hidden" name="" class="use_car_limit" value="" />
				<div class="am-u-sm-12 cl-p">
					<a href="#" type="button" class="am-btn am-btn-secondary am-radius am-btn-sm newqx">新建权限</a>
				</div>
				<div class="am-u-sm-12" style="margin-top:10px;">
					<div class="check_index">
						<span style="float: left;">用车备注：</span>
						<span style="float: left;">
							<div data-check='1' class="fillIn check_list"><i  class="am-icon-check-circle"></i>无需填写</div>
							<div data-check='0' class="nofillIn check_list"><i  class="am-icon-circle-o "></i>填写</div>
						</span>
					</div>
				</div>
			</div>

		</div>
		<div class="am-u-sm-12">
			<div class="am-u-sm-6 center">
				<!--<button type="button" class="am-btn am-btn-primary am-radius next">下一步</button>-->
				<button type="button" class="am-btn am-btn-primary am-radius keep">保存</button>
				<button type="button" class="am-btn am-radius back">取消</button>
			</div>
		</div>
	</form>
	<script type="text/html" id="operation1">
		<a class="layui-btn layui-btn-xs" lay-event="choose">选中</a>
	</script>
</div>